<?php /* Smarty version 2.6.16, created on 2009-04-19 23:14:13
         compiled from FriendsListSimple.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'FriendsListSimple.html', 8, false),array('function', 'url', 'FriendsListSimple.html', 17, false),array('function', 'module', 'FriendsListSimple.html', 22, false),array('function', 'str_replace', 'FriendsListSimple.html', 47, false),)), $this); ?>
<?php if ($this->_tpl_vars['aTop']): ?>
        <table style="width: 100%;" cellpadding="4" cellspacing="0">
        <tr>
            <td class="border2">
                <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                    <td class="block_header"><?php echo smarty_function_language(array('text' => 'my_top_friends'), $this);?>
</td>
                </tr>
                </table>

                <div style="font-size:9pt;" class="color">

<table style="width:100%;" cellpadding="4" cellspacing="5">
<?php unset($this->_sections['I']);
$this->_sections['I']['name'] = 'I';
$this->_sections['I']['loop'] = is_array($_loop=$this->_tpl_vars['aTop']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['I']['show'] = true;
$this->_sections['I']['max'] = $this->_sections['I']['loop'];
$this->_sections['I']['step'] = 1;
$this->_sections['I']['start'] = $this->_sections['I']['step'] > 0 ? 0 : $this->_sections['I']['loop']-1;
if ($this->_sections['I']['show']) {
    $this->_sections['I']['total'] = $this->_sections['I']['loop'];
    if ($this->_sections['I']['total'] == 0)
        $this->_sections['I']['show'] = false;
} else
    $this->_sections['I']['total'] = 0;
if ($this->_sections['I']['show']):

            for ($this->_sections['I']['index'] = $this->_sections['I']['start'], $this->_sections['I']['iteration'] = 1;
                 $this->_sections['I']['iteration'] <= $this->_sections['I']['total'];
                 $this->_sections['I']['index'] += $this->_sections['I']['step'], $this->_sections['I']['iteration']++):
$this->_sections['I']['rownum'] = $this->_sections['I']['iteration'];
$this->_sections['I']['index_prev'] = $this->_sections['I']['index'] - $this->_sections['I']['step'];
$this->_sections['I']['index_next'] = $this->_sections['I']['index'] + $this->_sections['I']['step'];
$this->_sections['I']['first']      = ($this->_sections['I']['iteration'] == 1);
$this->_sections['I']['last']       = ($this->_sections['I']['iteration'] == $this->_sections['I']['total']);
?>
	<td style="width:25%;text-align:center;" class="color">
		<a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aTop'][$this->_sections['I']['index']]['friend']), $this);?>
">
			<?php echo $this->_tpl_vars['aTop'][$this->_sections['I']['index']]['friend']; ?>

		</a>
		<div>
         <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aTop'][$this->_sections['I']['index']]['friend']), $this);?>
">
			<?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aTop'][$this->_sections['I']['index']]['friend'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aTop'][$this->_sections['I']['index']]['friend'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

		</a>
		</div>

	</td>
<?php if ($this->_sections['I']['iteration'] % 3 == 0): ?>
</tr>
<tr>
<?php endif;  endfor; endif; ?>
<tr>
<td></td>
</tr>
</table>
                </div>
             </td>
        </tr>
        </table>
        <br />
<?php endif; ?>

<?php if ($this->_tpl_vars['aFriends']): ?>
    <table style="width:100%;">
        <tr>
            <td style="font-size:8pt;" class="color"></td>
            <td style="font-size:8pt;text-align:right;" class="color"><?php echo smarty_function_str_replace(array('text' => "`viewing_apaging_fromrow_apaging_tor`",'aPaging_fromRow' => ($this->_tpl_vars['aPaging']['fromRow']),'aPaging_toRow' => ($this->_tpl_vars['aPaging']['toRow']),'aPaging_totalRows' => ($this->_tpl_vars['aPaging']['totalRows'])), $this);?>
</td>
        </tr>
    </table>

    <br />

        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <table style="width:100%;" cellpadding="5" cellspacing="0">

        <tr class="border13">         <?php $_from = $this->_tpl_vars['aFriends']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['friends'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['friends']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aFriend']):
        $this->_foreach['friends']['iteration']++;
?>
            <td style="text-align:center;vertical-align:middle;">
            <table style="margin-left:auto;margin-right:auto;">
                <tr>
                    <td style="font-size:8pt;" class="color">
                    <div class="list"><b><a class="link_description" href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aFriend']['user']), $this);?>
"> <?php echo $this->_tpl_vars['aFriend']['user']; ?>
</a> </b></div>

                    <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aFriend']['user']), $this);?>
">
                        <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aFriend']['user'],'iSize' => 75,'class' => 'pic1','alt' => "",'onmouseover' => "showInfo5('".($this->_tpl_vars['aFriend']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

                    </a>
                    </td>
                </tr>
            </table>
            </td>
            <?php if ($this->_foreach['friends']['iteration'] % $this->_tpl_vars['iRowSize'] == 0): ?>
            </tr>
            <tr class="<?php if (( $this->_foreach['friends']['iteration']/$this->_tpl_vars['iRowSize'] ) % 2 == 0): ?>border13<?php endif; ?>">
            <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
        <?php if ($this->_foreach['friends']['total'] % $this->_tpl_vars['iRowSize'] != 0): ?>
            <td colspan="<?php echo $this->_tpl_vars['iRowSize']; ?>
">&nbsp;</td>
        <?php endif; ?>
        </tr>
    </table>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  else: ?>
    <table style="width:100%;">
        <tr>
            <td><div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_friends_yet'), $this);?>
</div></td>
        </tr>
    </table>
<?php endif; ?>